import React from 'react';

function Card({image, isShow}) {
    return (
        <div className={"bg-gray-300 aspect-square"} onClick={()=>{onCardClick()}}>
            <img className={`w-full h-full ${isShow ? 'opacity-100': 'opacity-0'} transition-opacity cursor-pointer`}
                 src={image} alt=""/>
        </div>
    );
}

export default Card;